package com.ssc.manager.common.constant;

import java.math.BigDecimal;

/**
 * 系统常量
 * 
 * @author Administrator
 * 
 */
public class SystemConstant {
	
	public static final String OPENKEY = "_open";
	public static final String OPENSPLIT = ",";
	public static final String KLSF = "klsf";
	public static final String CONNECT="_";
	
	public static final String BETKEY="bets"; //注单 key
	
	
	/**
	 * 玩法开放标识
	 */
	
	public static final String PLAYOPEN = "1";
	
	/**
	 * 买方向
	 */
	public static final String TRADEBUY = "1";
	/**
	 * 卖方向
	 */
	public static final String TRADESELL = "2";
	
	//====================注单状态==========================
	/**
	 * 注单传输成功
	 */
	public static final String BET_SUCCESS = "1";
	/**
	 * 注单传输失败
	 */
	public static final String BET_FAILURE = "2";
	/**
	 * 数据为空
	 */
	public static final String BET_DATA_NULL = "3";
	/**
	 * 找不到玩法
	 */
	public static final String BET_NO_PLAY = "4";
	
	/**
	 * 用户名为空
	 */
	public static final String BET_USER_NOT = "5";
	

	/**
	 * 用户金额为空
	 */
	public static final String BET_NOT_MONEY = "6";
	
	
	
	
	/**
	 * 注单状态 开始
	 */
	public static final String BET_BEGIN = "0";
	
	/**
	 * 注单状态 已经结束
	 */
	public static final String BET_END = "-1";
	
	/**
	 * 展示值增加
	 */
	public static final String BET_SUM_ADD = "1";
	/**
	 * 展示值减少
	 */
	public static final String BET_SUM_CUT = "-1";
	
	//
	
	
	
	
	//====================合同状态=====================
	public static final String CONTRACT_STATE_BEGING = "1";
	
	public static final BigDecimal DFACTOR = BigDecimal.valueOf(100D);
	
}
